... RWvistreamRWvios RWreqistream... ... RWios
#include <rw/orb/orbstrea.h> CORBA::Request &req = ...; RWreqistream orbIStream(req);
Class RWreqistream is an input stream used to read an object's state from a CORBA::Request object. Class RWreqistream encapsulates the CORBA::Request insertion routines.
Class RWreqistream provides the capability to read all the standard data types and vectors of those data types from the CORBA::Request into an object.
An ORB stream must first be created by calling the appropriate creation routine. An ORB stream is initialized by passing a reference to the CORBA::Request in its constructor.
ORB streams are used in conjunction with the IONA Orbix opaque mechanism. In order for a C++ object to be passed as an opaque type, the developer must write insertion and extraction operations for that object from and to a CORBA::Request. The implementation of the insertion operator can make use of RWreqistream to read in the object's state from the CORBA::Request.
RWreqistream can be interrogated as to the status of the stream using member functions bad(), clear(), eof(), fail(), good(), and rdstate().
Return to Top of File.... RWvostreamRWvios RWreqostream... ... RWios
#include <rw/orb/orbstrea.h> CORBA::Request &req = ...; RWreqostream orbOStream(req);
Class RWreqostream is an output stream used to write an object's state to a CORBA::Request object. Class RWreqostream encapsulates the CORBA::Request extraction routines.
Class RWreqostream provides the capability to write all the standard data types and vectors of those data types from an object into a CORBA::Request.
An ORB stream must first be created by calling the appropriate creation routine. An ORB stream is initialized by passing a reference to the CORBA::Request in its constructor.
ORB streams are used in conjunction with the IONA Orbix opaque mechanism. In order for a C++ object to be passed as an opaque type, the developer must write insertion and extraction operations for that object from and to a CORBA::Request. The implementation of the extraction operator can make use of RWreqostream to write the object's state to the CORBA::Request.
RWreqostream can be interrogated as to the status of the stream using member functions bad(), clear(), eof(), fail(), good(), and rdstate().
Return to Top of File.